hi_cc_library_static(
  NAME
    ai::fmk::model_static
  SRCS
    built_model/built_model_impl.cpp
  CDEFS
    HIAI_M_API_VISIABLE
)

hi_cc_system("HI_HARMONY_NDK"
  NAME
    ai::fmk::model_static
  SRCS
    built_model/built_model_ndk_impl.cpp
  INCS
    foundation/ai/neural_network_runtime/interfaces/kits/c
    foundation/ai/neural_network_runtime/frameworks/native
    foundation/ai/neural_network_runtime
)

hi_cc_function(AI_SUPPORT_AIPP_API
  NAME
    ai::fmk::model_static
  SRCS
    built_model/customdata_util.cpp
    aipp/aipp_input_converter.cpp
  COPTS
    -frtti
)

hi_cc_library_static(
  NAME
    ai::fmk::unified_model_static
  SRCS
    unified_model/unified_model.cpp
    unified_model/model_partitions.cpp
  CDEFS
    DEV_VISIBILITY
)
